.class Lrexsee/open/RexseeRenRenSNS$5;
.super Ljava/lang/Object;
.source "RexseeRenRenSNS.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/open/RexseeRenRenSNS;->promptAndAdd(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/open/RexseeRenRenSNS;

.field private final synthetic val$editBox:Landroid/widget/EditText;

.field private final synthetic val$link:Ljava/lang/String;

.field private final synthetic val$title:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/open/RexseeRenRenSNS;Landroid/widget/EditText;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/open/RexseeRenRenSNS$5;->this$0:Lrexsee/open/RexseeRenRenSNS;

    iput-object p2, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$editBox:Landroid/widget/EditText;

    iput-object p3, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$title:Ljava/lang/String;

    iput-object p4, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$link:Ljava/lang/String;

    .line 359
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lrexsee/open/RexseeRenRenSNS$5;)Lrexsee/open/RexseeRenRenSNS;
    .locals 1

    .prologue
    .line 359
    iget-object v0, p0, Lrexsee/open/RexseeRenRenSNS$5;->this$0:Lrexsee/open/RexseeRenRenSNS;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5
    .param p1, "dialog"    # Landroid/content/DialogInterface;
    .param p2, "whichButton"    # I

    .prologue
    .line 362
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 363
    packed-switch p2, :pswitch_data_0

    .line 386
    :goto_0
    return-void

    .line 365
    :pswitch_0
    iget-object v2, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$editBox:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    .line 366
    .local v1, "message":Ljava/lang/String;
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "method:feed.publishFeed;name:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$title:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";description:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";url:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lrexsee/open/RexseeRenRenSNS$5;->val$link:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 367
    .local v0, "argu":Ljava/lang/String;
    iget-object v2, p0, Lrexsee/open/RexseeRenRenSNS$5;->this$0:Lrexsee/open/RexseeRenRenSNS;

    invoke-virtual {v2}, Lrexsee/open/RexseeRenRenSNS;->isReady()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 368
    new-instance v2, Lrexsee/open/RexseeRenRenSNS$5$1;

    invoke-direct {v2, p0, v0}, Lrexsee/open/RexseeRenRenSNS$5$1;-><init>(Lrexsee/open/RexseeRenRenSNS$5;Ljava/lang/String;)V

    .line 378
    invoke-virtual {v2}, Lrexsee/open/RexseeRenRenSNS$5$1;->start()V

    goto :goto_0

    .line 380
    :cond_0
    iget-object v2, p0, Lrexsee/open/RexseeRenRenSNS$5;->this$0:Lrexsee/open/RexseeRenRenSNS;

    const-string v3, "\u6b63\u5728\u53d1\u9001\u65b0\u9c9c\u4e8b......"

    const-string v4, "\u5206\u4eab\u6210\u529f\u3002"

    invoke-virtual {v2, v0, v3, v4}, Lrexsee/open/RexseeRenRenSNS;->loginAndRequest(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 363
    nop

    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_0
    .end packed-switch
.end method
